package org.example.mapper;

import org.example.pojo.Product;
import java.util.List;

public interface ProductMapper {
        Product findProductById(int id);
        List<Product> findAllProducts();
        int insertProduct(Product product);
        int updateProduct(Product product);
        int deleteProductById(int id);
}